<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>列表展示</title>
</head>

<body>

    <div id="app">
        <ul>
            <li v-for="item in movies">{{item}}</li>
            <!-- vue的循环遍历 -->
        </ul>
    </div>

    <script src="../js/vue.js"></script>
    <script>
        var app = new Vue({
            el: "#app",
            data: {
                message: "你好",
                movies: [
                    '霹雳惊涛',
                    '霹雳魔封 ',
                    '霹雳靖玄录',
                    '霹雳天越',
                ],
            }
        })
    </script>
</body>

</html>